package com.my.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.my.entity.Student;
import com.my.mapper.StudentMapper;
import com.my.service.StudentService;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {

    @Override
    public IPage<Student> getPage(IPage<Student> page, Student s) {
        return baseMapper.getPage(page, s);
    }

    @Override
    public Student getById(Long id) {
        return baseMapper.getById(id);
    }

}
